package 饿汉式;

public enum NewSingleton {
	Instance;
	
	public void funtion1() {
		System.out.println("do shanging----");
	}
	
	public static NewSingleton getNewSingleton() {
		return NewSingleton.Instance;
	}
}
